package cn.ym.order.domain;

import java.math.BigDecimal;
import java.util.Date;
import cn.ym.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 实体类：
 */
@Data
public class OrderProduct extends BaseDomain{

    /**
     * 摘要
     */
    private String digest;
    /**
     * 待支付0  完成1 取消-1
     */
    private Integer state;
    private BigDecimal price;
    private String orderSn;
    private String paySn;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date lastPayTime;
    /**
     * 购买次数
     */
    private Integer num;
    private Long productId;
    private Long userId;
    private Long shopId;



}
